import React from 'react'
import { withRouter } from 'react-router-dom'
import SourceData from '@utils/sourceData.js'
import ROUTES from '@utils/routes'
import CusDetail from '@components/CusDetail/index'
import './index.less'
const { researchNews, researchHighlights } = SourceData

class NewsDetail extends React.Component{
    constructor(props) {
        super(props)
    }

    render() {
        return (
            <div id="research-news-detail">
                <CusDetail
                    breadcrumb={['科学研究', '科研进展', '详情']}
                    constList={researchHighlights.slice(0,1).concat(researchNews)}
                    url={ROUTES.SCIENTIFIC_RESEARCH.RESEARCH_NEWS.DETAIL.URL}
                    backUrl={ROUTES.SCIENTIFIC_RESEARCH.RESEARCH_NEWS.URL}
                />
            </div>
        )
    }
}
export default withRouter(NewsDetail)